package com.telit.dispose.vo.resourceManagement;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.List;
import java.util.Map;


/**
 * 防火资源分类实体类
 *
 * @author yuezhuang
 * @date 2022-08-29
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel
public class ResourceCategoryVO {

    @ApiModelProperty(value = "ID", required = true)
    private Long id;


    @ApiModelProperty(value = "分类名称", required = true)
    private String resourceName;


    @ApiModelProperty(value = "父类id", required = true)
    private Long parentId;

    @ApiModelProperty(value = "父类名称")
    private String parentName;

    @ApiModelProperty(value = "资源图片地址")
    private String img;

    @ApiModelProperty(value = "添加标识判断是否需要单独请求接口  0 否  1 是")
    private Integer flag;

    @ApiModelProperty(value = "排序")
    private Integer sortNum;

    @ApiModelProperty(value = "资源大类统计")
    private Integer categoryNum;


    private List<Map> resourceList;

}
